.class public final Lcn/cheln/explorer/ds/sdcard/a;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/io/FilenameFilter;


# instance fields
.field private a:Z

.field private b:I


# direct methods
.method public constructor <init>(Z)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-boolean p1, p0, Lcn/cheln/explorer/ds/sdcard/a;->a:Z

    return-void
.end method


# virtual methods
.method public final a()I
    .locals 1

    iget v0, p0, Lcn/cheln/explorer/ds/sdcard/a;->b:I

    return v0
.end method

.method public final accept(Ljava/io/File;Ljava/lang/String;)Z
    .locals 1

    iget-boolean v0, p0, Lcn/cheln/explorer/ds/sdcard/a;->a:Z

    if-eqz v0, :cond_0

    const-string v0, "."

    invoke-virtual {p2, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    iget v0, p0, Lcn/cheln/explorer/ds/sdcard/a;->b:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcn/cheln/explorer/ds/sdcard/a;->b:I

    const/4 v0, 0x1

    goto :goto_0
.end method

.method public final b()V
    .locals 1

    const/4 v0, 0x0

    iput v0, p0, Lcn/cheln/explorer/ds/sdcard/a;->b:I

    return-void
.end method
